package com.briup.corejava.day06;

/**
 * 手机的实体类
 */
public class Phone {
    // 属性
    String brand;
    double price;

    // 行为
    public void call(){
        System.out.println("call me");
    }
    public void sendMessage(String name, String msg){
        System.out.println(brand+": 给"+name+"发信息："+msg);
    }
}
